PROJECT = mycom
QT       += core gui

TARGET = mycom
TEMPLATE = app
CONFIG+= qt release
DEPENDPATH += .

HEADERS  += qextserialport.h \
        qextserialenumerator.h \
         qextserialport_global.h\
        mainwindow.h \
    settingsdialog.h \
    qwt_text_label.h \
    qwt_text_engine.h \
    qwt_text.h \
    qwt_symbol.h \
    qwt_spline.h \
    qwt_series_data.h \
    qwt_scale_widget.h \
    qwt_scale_map.h \
    qwt_scale_engine.h \
    qwt_scale_draw.h \
    qwt_scale_div.h \
    qwt_point_polar.h \
    qwt_point_3d.h \
    qwt_plot_seriesitem.h \
    qwt_plot_layout.h \
    qwt_plot_item.h \
    qwt_plot_dict.h \
    qwt_plot_curve.h \
    qwt_plot_canvas.h \
    qwt_plot.h \
    qwt_painter.h \
    qwt_math.h \
    qwt_legend_itemmanager.h \
    qwt_legend_item.h \
    qwt_legend.h \
    qwt_interval.h \
    qwt_global.h \
    qwt_dyngrid_layout.h \
    qwt_curve_fitter.h \
    qwt_color_map.h \
    qwt_clipper.h \
    qwt_abstract_scale_draw.h \
    cpustat.h \
    cpuplot.h \
    cpupiemarker.h


SOURCES += main.cpp\
        mainwindow.cpp \
    qextserialport.cpp \
    settingsdialog.cpp \
    qwt_text_label.cpp \
    qwt_text_engine.cpp \
    qwt_text.cpp \
    qwt_symbol.cpp \
    qwt_spline.cpp \
    qwt_series_data.cpp \
    qwt_scale_widget.cpp \
    qwt_scale_map.cpp \
    qwt_scale_engine.cpp \
    qwt_scale_draw.cpp \
    qwt_scale_div.cpp \
    qwt_point_polar.cpp \
    qwt_point_3d.cpp \
    qwt_plot_xml.cpp \
    qwt_plot_seriesitem.cpp \
    qwt_plot_layout.cpp \
    qwt_plot_item.cpp \
    qwt_plot_dict.cpp \
    qwt_plot_curve.cpp \
    qwt_plot_canvas.cpp \
    qwt_plot_axis.cpp \
    qwt_plot.cpp \
    qwt_painter.cpp \
    qwt_math.cpp \
    qwt_legend_item.cpp \
    qwt_legend.cpp \
    qwt_interval.cpp \
    qwt_dyngrid_layout.cpp \
    qwt_curve_fitter.cpp \
    qwt_color_map.cpp \
    qwt_clipper.cpp \
    qwt_abstract_scale_draw.cpp \
    cpustat.cpp \
    cpupiemarker.cpp



FORMS    += mainwindow.ui \
    settingsdialog.ui

#OTHER_FILES +=

unix:SOURCES           += posix_qextserialport.cpp
unix:!macx:SOURCES     += qextserialenumerator_unix.cpp
macx {
  SOURCES          +=
  LIBS             += -framework IOKit -framework CoreFoundation
}

win32 {
  SOURCES          += win_qextserialport.cpp qextserialenumerator_win.cpp
  DEFINES          += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
  LIBS             += -lsetupapi
}

CONFIG += mobility
MOBILITY =

symbian {
    TARGET.UID3 = 0xe843b614
    # TARGET.CAPABILITY +=
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}

OTHER_FILES += \


RESOURCES += \
    icon.qrc
